import request from '@/utils/request'

// 社区列表导出
export function postExport (data) {
  return request({
    url: '/pc/post/listExport',
    method: 'post',
    responseType: 'blob',
    isExportExcel: true,
    fileName: '社区列表.xls',
    data
  })
}

// 任务列表导出
export function taskExport (data) {
  return request({
    url: '/h5/task/listExport',
    method: 'post',
    responseType: 'blob',
    isExportExcel: true,
    fileName: '任务列表.xls',
    data
  })
}


// 知识库列表导出
export function knowledgeTypeExport (data) {
  return request({
    url: '/h5/knowledge/listExport',
    method: 'post',
    responseType: 'blob',
    isExportExcel: true,
    fileName: '知识库列表.xls',
    data
  })
}

// 会员列表导出
export function userVipExport (data) {
  return request({
    url: '/pc/user/listExport',
    method: 'post',
    responseType: 'blob',
    isExportExcel: true,
    fileName: '会员列表.xls',
    data
  })
}